<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
%>

<!--  2010-07-08 批量添加班级 -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>批量添加班级</title>
	<link href="<%=path %>/css/index_css.css" rel="stylesheet" type="text/css" />

  </head>
  <body>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="left" valign="top" bgcolor="#ECE9D8" class="border_2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td align="left" valign="top" class="tb_10 border_2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="2" height="24" align="left" background="<%=path %>/images/sywesp_21.gif"><img src="<%=path %>/images/sywesp_20.gif" width="2" height="24" /></td>
                          <td align="left" background="<%=path %>/images/sywesp_21.gif">
                           <table width="100%" border="0" cellspacing="0" cellpadding="0">
	                          <tr>
		                         <td width="1%">&nbsp;</td>
		                         <td width="36%" align="left" class="f_8">年级</td>
		                         <td width="21%" align="left" class="f_8"><img src="<%=path %>/images/sywesp_23.gif" width="8" height="22" align="absmiddle" />名称</td>
		                         <td width="12%" align="left" class="f_8"><img src="<%=path %>/images/sywesp_23.gif" width="8" height="22" align="absmiddle" />班级数量</td>
		                         <td width="30%" align="left" class="f_8"><img src="<%=path %>/images/sywesp_23.gif" width="8" height="22" align="absmiddle" />所属学段</td>
	                          </tr>
                           </table></td>
                          <td width="4" align="right" background="<%=path %>/images/sywesp_21.gif"><img src="<%=path %>/images/sywesp_22.gif" width="4" height="24" /></td>
                        </tr>
                    </table></td>
                  </tr>
                  <tr>
                    <td align="left" valign="top">
                     <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td height="25" align="left" valign="top" class="tb_7">
                            <table width="100%" border="0" cellspacing="1" cellpadding="0">
                              <c:choose>
                                <c:when test="${! empty requestScope.gradeList}">
                                  <c:forEach items="${requestScope.gradeList}" var="grade">
		                              <tr>
		                                <td width="1%">&nbsp;</td>
		                                <td width="36%" height="25" align="left" valign="bottom" class="f_4"><input type="checkbox" name="gradeId" value="${grade.gradeId }" />${grade.name }</td>
		                                <td width="21%" align="left" valign="bottom"><input name="gradeName" type="text" size="20" value="${grade.name }" /></td>
		                                <td width="12%" valign="bottom"><input name="classNum" type="text" size="5" /></td>
		                                <td width="31%" valign="bottom">&nbsp;&nbsp;${stageMap[grade.stageId]}</td>
		                              </tr>
                                  </c:forEach>
                                </c:when>
                                <c:otherwise>
                                   <tr>
                                     <td>无年级信息</td>
                                   </tr>
                                </c:otherwise>
                              </c:choose>
                          </table>
                         </td>
                        </tr>
                    </table>
                   </td>
                  </tr>
              </table></td>
            </tr>
            <tr>
              <td height="5" align="left" valign="top"></td>
            </tr>
            
        </table></td>
      </tr>
    </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td height="1" bgcolor="#AAA899"></td>
        </tr>
        <tr>
          <td height="1" bgcolor="#FFFFFF"></td>
        </tr>
        <tr>
          <td height="35" align="center" valign="bottom"><input type="submit" name="Submit" value="提 交" /></td>
        </tr>
      </table></td>
  </tr>
</table>
  </body>
</html>
